package com.netcracker.training.oracle.dao.user;

import com.netcracker.training.oracle.dao.entity.User;
import com.netcracker.training.oracle.dao.manager.DBException;
import java.util.List;

/**
 * @author olhr0713
 */
public interface UserDao {
 
    void insertOrUpdateUser(User user) throws DBException;
    
    void deleteUser(User user) throws DBException;
    
    void deleteAllUsers() throws DBException;
    
    List<User> loadAllUsers() throws DBException;
}